fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()
authorJean-Jacques Hiblot <[email protected]>
Fri, 15 Sep 2017 10:57:25 +0000 (12:57 +0200)
committerTom Rini <[email protected]>
Fri, 6 Oct 2017 01:31:04 +0000 (21:31 -0400)
commit906a9dbbcba85e8b02414c960c75103cc4755102
tree7ed6863f3bcc59acf9e9b83df92d5c2435e99dbc
parent11955590a284ecb75892aad5f1174ca1b94a709b
fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Those 2 functions don't modify their input, we can mark it const.
This prevents compilation warnings when they are provided const input.

Signed-off-by: Jean-Jacques Hiblot <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/boot_fit.c
include/boot_fit.h